<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>keyczar.keyinfo</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="keyczar-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            >Keyczar</th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="keyczar-module.html">Package&nbsp;keyczar</a> ::
        Module&nbsp;keyinfo
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="keyczar.keyinfo-module.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== MODULE DESCRIPTION ==================== -->
<h1 class="epydoc">Module keyinfo</h1><p class="nomargin-top"><span class="codelink"><a href="keyczar.keyinfo-pysrc.html">source&nbsp;code</a></span></p>
<p>Defines several 'enums' encoding information about keys, such as type,
  status, purpose, and the cipher mode.</p>

<hr />
<div class="fields">      <p><strong>Author:</strong>
        arkajit.dey@gmail.com (Arkajit Dey)
      </p>
</div><!-- ==================== CLASSES ==================== -->
<a name="section-Classes"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Classes</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Classes"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="keyczar.keyinfo._NameId-class.html" class="summary-name" onclick="show_private();">_NameId</a>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="keyczar.keyinfo.KeyType-class.html" class="summary-name">KeyType</a><br />
      Encodes different key types and their properties:
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="keyczar.keyinfo.KeyStatus-class.html" class="summary-name">KeyStatus</a><br />
      Encodes the different possible statuses of a key:
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="keyczar.keyinfo.KeyPurpose-class.html" class="summary-name">KeyPurpose</a><br />
      Encodes the different possible purposes for which a key can be 
        used:
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="keyczar.keyinfo.CipherMode-class.html" class="summary-name">CipherMode</a><br />
      Encodes the different possible modes for a cipher:
    </td>
  </tr>
</table>
<!-- ==================== FUNCTIONS ==================== -->
<a name="section-Functions"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Functions</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Functions"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="GetType"></a><span class="summary-sig-name">GetType</span>(<span class="summary-sig-arg">name</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="keyczar.keyinfo-pysrc.html#GetType">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="GetStatus"></a><span class="summary-sig-name">GetStatus</span>(<span class="summary-sig-arg">value</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="keyczar.keyinfo-pysrc.html#GetStatus">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="GetPurpose"></a><span class="summary-sig-name">GetPurpose</span>(<span class="summary-sig-arg">name</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="keyczar.keyinfo-pysrc.html#GetPurpose">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="GetMode"></a><span class="summary-sig-name">GetMode</span>(<span class="summary-sig-arg">name</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="keyczar.keyinfo-pysrc.html#GetMode">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
<!-- ==================== VARIABLES ==================== -->
<a name="section-Variables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Variables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="AES"></a><span class="summary-name">AES</span> = <code title="KeyType(&quot;AES&quot;, 0, [128, 192, 256], 0)">KeyType(&quot;AES&quot;, 0, [128, 192, 256], 0)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="HMAC_SHA1"></a><span class="summary-name">HMAC_SHA1</span> = <code title="KeyType(&quot;HMAC_SHA1&quot;, 1, [256], 20)">KeyType(&quot;HMAC_SHA1&quot;, 1, [256], 20)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="DSA_PRIV"></a><span class="summary-name">DSA_PRIV</span> = <code title="KeyType(&quot;DSA_PRIV&quot;, 2, [1024], 48)">KeyType(&quot;DSA_PRIV&quot;, 2, [1024], 48)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="DSA_PUB"></a><span class="summary-name">DSA_PUB</span> = <code title="KeyType(&quot;DSA_PUB&quot;, 3, [1024], 48)">KeyType(&quot;DSA_PUB&quot;, 3, [1024], 48)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="RSA_PRIV"></a><span class="summary-name">RSA_PRIV</span> = <code title="KeyType(&quot;RSA_PRIV&quot;, 4, [2048, 1024, 768, 512], 256)">KeyType(&quot;RSA_PRIV&quot;, 4, [2048, 1024, 768, 512], 256)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="RSA_PUB"></a><span class="summary-name">RSA_PUB</span> = <code title="KeyType(&quot;RSA_PUB&quot;, 4, [2048, 1024, 768, 512], 256)">KeyType(&quot;RSA_PUB&quot;, 4, [2048, 1024, 768, 512], 256)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="keyczar.keyinfo-module.html#types" class="summary-name">types</a> = <code title="{&quot;AES&quot;: AES, &quot;HMAC_SHA1&quot;: HMAC_SHA1, &quot;DSA_PRIV&quot;: DSA_PRIV, &quot;DSA_PUB&quot;: \
DSA_PUB, &quot;RSA_PRIV&quot;: RSA_PRIV, &quot;RSA_PUB&quot;: RSA_PUB}">{&quot;AES&quot;: AES, &quot;HMAC_SHA1&quot;: HMAC_SHA1, &quot;DSA_PRIV&quot;: DSA_P<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="PRIMARY"></a><span class="summary-name">PRIMARY</span> = <code title="KeyStatus(&quot;PRIMARY&quot;, 0)">KeyStatus(&quot;PRIMARY&quot;, 0)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="ACTIVE"></a><span class="summary-name">ACTIVE</span> = <code title="KeyStatus(&quot;ACTIVE&quot;, 1)">KeyStatus(&quot;ACTIVE&quot;, 1)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="INACTIVE"></a><span class="summary-name">INACTIVE</span> = <code title="KeyStatus(&quot;INACTIVE&quot;, 2)">KeyStatus(&quot;INACTIVE&quot;, 2)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="keyczar.keyinfo-module.html#statuses" class="summary-name">statuses</a> = <code title="{&quot;PRIMARY&quot;: PRIMARY, &quot;ACTIVE&quot;: ACTIVE, &quot;INACTIVE&quot;: INACTIVE}">{&quot;PRIMARY&quot;: PRIMARY, &quot;ACTIVE&quot;: ACTIVE, &quot;INACTIVE&quot;: <code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="DECRYPT_AND_ENCRYPT"></a><span class="summary-name">DECRYPT_AND_ENCRYPT</span> = <code title="KeyPurpose(&quot;DECRYPT_AND_ENCRYPT&quot;, 0)">KeyPurpose(&quot;DECRYPT_AND_ENCRYPT&quot;, 0)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="ENCRYPT"></a><span class="summary-name">ENCRYPT</span> = <code title="KeyPurpose(&quot;ENCRYPT&quot;, 1)">KeyPurpose(&quot;ENCRYPT&quot;, 1)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="SIGN_AND_VERIFY"></a><span class="summary-name">SIGN_AND_VERIFY</span> = <code title="KeyPurpose(&quot;SIGN_AND_VERIFY&quot;, 2)">KeyPurpose(&quot;SIGN_AND_VERIFY&quot;, 2)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="VERIFY"></a><span class="summary-name">VERIFY</span> = <code title="KeyPurpose(&quot;VERIFY&quot;, 3)">KeyPurpose(&quot;VERIFY&quot;, 3)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="keyczar.keyinfo-module.html#purposes" class="summary-name">purposes</a> = <code title="{&quot;DECRYPT_AND_ENCRYPT&quot;: DECRYPT_AND_ENCRYPT, &quot;ENCRYPT&quot;: ENCRYPT, &quot;SIGN\
_AND_VERIFY&quot;: SIGN_AND_VERIFY, &quot;VERIFY&quot;: VERIFY}">{&quot;DECRYPT_AND_ENCRYPT&quot;: DECRYPT_AND_ENCRYPT, &quot;ENCRY<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="CBC"></a><span class="summary-name">CBC</span> = <code title="CipherMode(&quot;CBC&quot;, 0, True, lambda b, i:(i/ b+ 2)* b)">CipherMode(&quot;CBC&quot;, 0, True, lambda b, i:(i/ b+ 2)* b)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="CTR"></a><span class="summary-name">CTR</span> = <code title="CipherMode(&quot;CTR&quot;, 1, True, lambda b, i: i+ b/ 2)">CipherMode(&quot;CTR&quot;, 1, True, lambda b, i: i+ b/ 2)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="ECB"></a><span class="summary-name">ECB</span> = <code title="CipherMode(&quot;ECB&quot;, 2, False, lambda b, i: b)">CipherMode(&quot;ECB&quot;, 2, False, lambda b, i: b)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="keyczar.keyinfo-module.html#DET_CBC" class="summary-name">DET_CBC</a> = <code title="CipherMode(&quot;DET_CBC&quot;, 3, False, lambda b, i:(i/ b+ 1)* b)">CipherMode(&quot;DET_CBC&quot;, 3, False, lambda b, i:(i/ b+ 1<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="modes"></a><span class="summary-name">modes</span> = <code title="{&quot;CBC&quot;: CBC, &quot;CTR&quot;: CTR, &quot;ECB&quot;: ECB, &quot;DET_CBC&quot;: DET_CBC}">{&quot;CBC&quot;: CBC, &quot;CTR&quot;: CTR, &quot;ECB&quot;: ECB, &quot;DET_CBC&quot;: DET_CBC}</code>
    </td>
  </tr>
</table>
<!-- ==================== VARIABLES DETAILS ==================== -->
<a name="section-VariablesDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Variables Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-VariablesDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="types"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">types</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
{&quot;AES&quot;: AES, &quot;HMAC_SHA1&quot;: HMAC_SHA1, &quot;DSA_PRIV&quot;: DSA_PRIV, &quot;DSA_PUB&quot;: <span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
DSA_PUB, &quot;RSA_PRIV&quot;: RSA_PRIV, &quot;RSA_PUB&quot;: RSA_PUB}
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="statuses"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">statuses</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
{&quot;PRIMARY&quot;: PRIMARY, &quot;ACTIVE&quot;: ACTIVE, &quot;INACTIVE&quot;: INACTIVE}
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="purposes"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">purposes</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
{&quot;DECRYPT_AND_ENCRYPT&quot;: DECRYPT_AND_ENCRYPT, &quot;ENCRYPT&quot;: ENCRYPT, &quot;SIGN<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
_AND_VERIFY&quot;: SIGN_AND_VERIFY, &quot;VERIFY&quot;: VERIFY}
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="DET_CBC"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">DET_CBC</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
CipherMode(&quot;DET_CBC&quot;, 3, False, lambda b, i:(i/ b+ 1)* b)
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="keyczar-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            >Keyczar</th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Sun Aug 10 17:05:05 2008
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
